package com.atguigu.orderservice.client;

import com.atguigu.common_uitls.orderVo.CourseOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * zz: wzh
 * time 2022 10 06 20 32
 **/
@Component
@FeignClient("service-edu")
public interface EduClient {
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{id}")
    public CourseOrderVo getCourseInfoOrder(@PathVariable("id") String id);
}
